package ts.test.test.shizhan4;

import lombok.Data;

import java.util.Date;

@Data
public class User implements java.io.Serializable {
    private int id;
    private String username;
    private Boolean ok;
    private char sex;
    private Date birthday;
    private Float salary;

    @Override
    public String toString() {
        return "User [id=" + id + ", username=" + username  + ", birthday=" + birthday.toLocaleString() + ", sex=" + sex
                + ", salary=" + salary + ", ok=" + ok + "]";
    }
}
